home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 405 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: nntp.teleport.com!sschaem
  2. From: sschaem@teleport.com (Stephan Schaem)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Doublebuffered window??
  5. Date: 7 Jan 1996 17:09:37 GMT
  6. Organization: Teleport - Portland's Public Access (503) 220-1016
  7. Distribution: world
  8. Message-ID: <4couoh$3qc@maureen.teleport.com>
  9. References: <4bfe05$l11@katiska.clinet.fi> <4bgmqq$kh6@serpens.rhein.de> <4cmftc$1g1@sunsystem5.informatik.tu-muenchen.de>
  10. NNTP-Posting-Host: julie.teleport.com
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Juergen "Rally" Fischer (fischerj@Informatik.TU-Muenchen.DE) wrote:
  14. : Michael van Elst (mlelstv@serpens.rhein.de) wrote:
  15. : : ppaavola@clinet.fi (Pasi Paavola) writes:
  16.  
  17. : : >I try make double buffered window and i don't know how i can change 
  18. : : >it bitmap to other.
  19.  
  20. : : You cannot double buffer windows. You can only double buffer screens.
  21.  
  22. : But in the sense of rastersplit-free update, I would sugest to
  23. : use VBeamPos() to wait for bottom of window and hope that
  24. : blitbitmaprastport() will do it under (1 frame - windowheight).
  25.  
  26. : Somewhere in intuition there should be the physical height of screen,
  27. : you got to add it to (window y-pos + wimdow height) to get the value
  28. : to compare with beamcounter.
  29.  
  30.  I never tried this. But a solution beside VBeamPos() (It busy loop
  31.  , the OS do that alot :) is to create a copper interupt server, and
  32.  setup a usercopperlist with a wait to the desired line (probably a few 
  33.  lines below the window top) + a move to intreq to set the copper interupt.
  34.  That If you know you have a copper  to begin with.
  35.  
  36.  Another one, never tryed ethier (I had the same trouble on SGI box, 
  37.  indys do not support dbuffer in 24bit at any price)... is get the video 
  38.  spec data, and from that calculate the time of a scan line.. then at each
  39.  VBL (waittof) look at the currrent scan line pos (most probably not 
  40.  zero) for acuracy (Or assume zero if you are on gfx card and cant monitor
  41.  the vbeam) and  start a timer to cause an interupt at the desired 'line'.
  42.  
  43.  Stephan
  44.